package com.baoleme.baoleme_goods_service.service;

import com.baoleme_goods_model.dto.SetMealDTO;
import com.baoleme_goods_model.entity.SetMeal;
import com.baoleme_goods_model.vo.SetMealForClientVO;
import com.baoleme_goods_model.vo.SetMealGoodsForClientVO;
import com.baoleme_goods_model.vo.SetMealVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuyunbin
 * @since 2024-09-13
 */
public interface SetMealService extends IService<SetMeal> {

    boolean updateSetMeal(SetMealDTO setMealDTO);

    boolean removeWithGoods(List<String> ids);

    boolean saveSetMeal(SetMealDTO setMealDTO);

    SetMealVO getWithGoodsById(String id);

    List<SetMealForClientVO> getByCategoryId(String categoryId);

    List<SetMealGoodsForClientVO> getSetMealGoodsBySetMealId(String id);
}
